package day240525.String_demo;

import java.util.Arrays;

public class MyStringBuilder extends AbstractMyStringBuilder{
    char[] value;
    public MyStringBuilder() {
        super(16);
    }

    public MyStringBuilder(int capacity) {
        super(capacity);
    }
    public MyStringBuilder append(String str) {
        // 待补充：具体的添加逻辑
        return this;
    }

    @Override
    public String toString() {
        return "MyStringBuilder{" +
                "value=" + Arrays.toString(value) +
                '}';
    }
}
